<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/6
 * Time: 17:28
 */

namespace app\models\sql;


use yii\db\ActiveRecord;

class ArticleModel extends ActiveRecord
{


    public function rules()
    {
        return [
            [['title', 'account_id','subhead', 'content'], 'required'],

        ];
    }

    public static function tableName()
    {
        return 'article';
    }


}